﻿/**************************************************************************
创建时间:	2020/8/30 9:46:23    
作	  者:	张存
邮 	  箱:	zhangcunliang@126.com

Copyright (c) zhcun.cn

描	述：用于分页查询的参数基类
记	录：
***************************************************************************/
using System;
using System.Collections.Generic;
using System.Text;

namespace ZhCun.Utils
{
    /// <summary>
    /// 用于查询分页所使用的参数基类
    /// </summary>
    public class ArgPageData
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int PageNo { set; get; }
        /// <summary>
        /// 每页大小
        /// </summary>
        public int PageSize { set; get; }
        /// <summary>
        /// 搜索值
        /// </summary>
        public string SearchVal { set; get; }
        /// <summary>
        /// 其它的查询内容
        /// </summary>
        public object TagData { set; get; }
        /// <summary>
        /// 高级搜索明细集合
        /// </summary>
        public List<AdSearchDetail> AdSearchList { set; get; }
    }

    /// <summary>
    /// 高级搜索明细
    /// </summary>
    public class AdSearchDetail
    {
        /// <summary>
        /// 连接符
        /// </summary>
        public string ConnectorSignStr { set; get; }
        /// <summary>
        /// 比较符
        /// </summary>
        public string CompareSignStr { set; get; }
        /// <summary>
        /// 字段名
        /// </summary>
        public string FieldName { set; get; }
        /// <summary>
        /// 搜索字符串
        /// </summary>
        public string SearchValue { set; get; }
        /// <summary>
        /// 数据类型字符串
        /// </summary>
        public string DataTypeStr { set; get; }
    }
}
